import React from 'react';
import PropTypes from 'prop-types';

export default class TodoList extends React.Component {

  static propTypes = {
    children: PropTypes.node
  };

  render() {
    return (
        <ul className="todo-list">
          {this.props.children}
        </ul>
    );
  }

}
